package com.design.decorate;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/9/10
 * @Description
 */
public class StarbuzzCoffee {

    public static void main(String[] args) {
        Beverage beverage = new Mocha();
        beverage = new Soy(beverage);
        beverage = new Milk(beverage);
        System.out.println(beverage.getDescription()+" $ "+beverage.cost());
    }
}
